package com.csu.bailan.util;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.google.gson.Gson;

import java.util.HashMap;
import java.util.Map;

public class JSONUtil {

    public static JSONObject stringToAttr(String attr){
        JSONObject jsonObject = JSON.parseObject(attr);
//        Map<String, String> map = new HashMap<>();
        System.out.println(jsonObject.toString());
        return null;
    }
}
